﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:es="clr-namespace:Microsoft.Expression.Shapes;assembly=Microsoft.Expression.Drawing" xmlns:em="clr-namespace:Microsoft.Expression.Media;assembly=Microsoft.Expression.Drawing" x:Class="WeiTalk.Controls.PullAndDownControl"
   
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    
  >
	<UserControl.Resources>
        <Storyboard x:Name="sbArrowReady">
            <DoubleAnimation Duration="0:0:0.3" To="180" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" d:IsOptimized="True" x:Name="ArrowAnimation"  Storyboard.TargetName="arrow" />
		</Storyboard>

        
    </UserControl.Resources>
	<Grid x:Name="LayoutRoot" Margin="0" Background="#FF96B232">

		<StackPanel Orientation="Horizontal">
			<Grid Margin="8,0,0,0" Width="50" Height="50" x:Name="gPullAndDown">
				<Image  Source="/Images/arrow.png" Stretch="Fill" x:Name="arrow" RenderTransformOrigin="0.5,0.5">
					<Image.RenderTransform>
						<CompositeTransform/>
					</Image.RenderTransform>
				</Image>
			</Grid>
			
			<TextBlock x:Name="TextBlock" 
				VerticalAlignment="Center" Text="下拉可以更新" FontSize="21.333" Margin="5,0" Foreground="White" FontFamily="SimHei"
				 />
			
            <ProgressBar  Foreground="White" 
                Style="{StaticResource PerformanceProgressBar}" 
                Margin="0,5,0,15" x:Name="Loading" VerticalAlignment="Bottom" Background="#FF040404"/>
		</StackPanel>
        
	</Grid>
</UserControl>
